package com.jdd.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 设备人脸识别记录日志表
 * </p>
 *
 * @author zly
 * @since 2022-03-24
 */
@Data
@ApiModel(value = "TDeviceFaceDiscernLog对象", description = "设备人脸识别记录日志表")
public class TDeviceFaceDiscernLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "状态1-正常2-停用")
    private Boolean status;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "人脸图片")
    private String eImgurl;

    @ApiModelProperty(value = "识别错误码")
    private String isRealtimeData;

    @ApiModelProperty(value = "人脸图大小")
    private Integer eImgsize;

    @ApiModelProperty(value = "0:未带帽；1：带帽；-1：未检测")
    private String hat;

    @ApiModelProperty(value = "身份证号")
    private String idCard;

    @ApiModelProperty(value = "抓拍图")
    private String imgData;

    @ApiModelProperty(value = "是否是url")
    private Boolean isUrl;

    @ApiModelProperty(value = "0:未戴口罩；1：戴口罩；-1：未检测")
    private String mask;

    @ApiModelProperty(value = "比对结果(100分制)，0：未比对。-1：比对失败。大于0的取值")
    private String matched;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "人员名称 utf8 编码(Base64编码,防止加密后数据丢失")
    private String nameBase64;

    @ApiModelProperty(value = "设备人员ID")
    private String perId;

    @ApiModelProperty(value = "识别人员 ID(Base64编码,防止加密后数据丢失)")
    private String perIdBase64;

    @ApiModelProperty(value = "人员角色，0：普通人员。 1：白名单人员。 2：黑名单人员")
    private Integer role;

    @ApiModelProperty(value = "消息ID")
    private String sequence;

    @ApiModelProperty(value = "设备SN")
    private String sn;

    @ApiModelProperty(value = "温度")
    private String tep;

    @ApiModelProperty(value = "时间戳")
    private Integer usec;

    @ApiModelProperty(value = "用户类型1-住户2-访客3-未知")
    private Integer userType;

    @ApiModelProperty(value = "项目id")
    private String projectId;

}
